package com.jy.modules.cims.data.interact.core.credit.request;

import java.math.BigDecimal;
import java.util.Date;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;
import org.springframework.validation.annotation.Validated;
/**
 * 
 * @classname: RequestCashRepayDTO.java
 * @description: 债权转让月还现金结算Request
 *
 */
@Validated
public class RequestCashRepayDTO {
	
	private String contractNo;
	
	@NotBlank(message="债权转让编号transferId不能为空")
	private String transferId;
	
	@NotNull(message="合作机构要求月还eachRepaymentValue不能为空")
	private BigDecimal eachRepaymentValue;
	
	@NotBlank(message="是否虚拟月还isVirtualRepay不能为空")
	private String isVirtualRepay;
	
	@NotNull(message="结算现金金额cashSum不能为空")
	private BigDecimal cashSum;
	
	
	@NotNull(message="月还日期eachRepaymentDate不能为空")
	private Date eachRepaymentDate;
	
	@NotNull(message="月还期数eachRepaymentPeriods不能为空")
	private Integer eachRepaymentPeriods;
	
	public String getContractNo() {
		return contractNo;
	}

	public void setContractNo(String contractNo) {
		this.contractNo = contractNo;
	}

	public String getTransferId() {
		return transferId;
	}

	public void setTransferId(String transferId) {
		this.transferId = transferId;
	}

	public BigDecimal getEachRepaymentValue() {
		return eachRepaymentValue;
	}

	public void setEachRepaymentValue(BigDecimal eachRepaymentValue) {
		this.eachRepaymentValue = eachRepaymentValue;
	}

	public String getIsVirtualRepay() {
		return isVirtualRepay;
	}

	public void setIsVirtualRepay(String isVirtualRepay) {
		this.isVirtualRepay = isVirtualRepay;
	}

	public BigDecimal getCashSum() {
		return cashSum;
	}

	public void setCashSum(BigDecimal cashSum) {
		this.cashSum = cashSum;
	}

	public Date getEachRepaymentDate() {
		return eachRepaymentDate;
	}

	public void setEachRepaymentDate(Date eachRepaymentDate) {
		this.eachRepaymentDate = eachRepaymentDate;
	}

	public Integer getEachRepaymentPeriods() {
		return eachRepaymentPeriods;
	}

	public void setEachRepaymentPeriods(Integer eachRepaymentPeriods) {
		this.eachRepaymentPeriods = eachRepaymentPeriods;
	}
	
	 
}
